import request from '@/utils/request'

// 上传头像
export const uploadAvatar = (file: File) => {
    return request.post(`/lejuClient/login/uploadAvatar`, file)
}

// 更新用户信息
export const updateMemberInfo = (data?: object) => {
    return request.post(`/lejuClient/member/updateMemberInfo`, data)
}